package cn.stylefeng.guns.modular.hp.service.imp;

import cn.stylefeng.guns.modular.hp.dao.FileDownloadInfoMapper;
import cn.stylefeng.guns.modular.hp.model.FileDownloadInfo;
import cn.stylefeng.guns.modular.hp.service.IFileDownloadInfoService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 文件下载表实体类 服务实现类
 * </p>
 *
 * @author xzqiang
 * @date 2019-05-26
 */
@Service
public class FileDownloadInfoServiceImpl extends ServiceImpl<FileDownloadInfoMapper, FileDownloadInfo> implements IFileDownloadInfoService {
    @Override
    public List<Map<String, Object>> list() {
        return this.baseMapper.list();
    }

    @Override
    public List<FileDownloadInfo> fileDownloadInfoList(Integer startIndex, Integer size) {
        return this.baseMapper.fileDownloadInfoList(startIndex, size);
    }

    @Override
    public Integer fileDownloadInfoCont() {
        return this.baseMapper.fileDownloadInfoCont();
    }
}
